cmake_minimum_required(VERSION 2.6)
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS ON)

project(monkey)

set(Libev_Root $ENV{LIBEVENT_ROOT})
if (Libev_Root)
	set(Libev_Inc ${Libev_Root}/include)
	set(Libev_Lib ${Libev_Root}/lib)
elseif()
	message(FATAL_ERROR "LIBEVENT_ROOT not found")
endif()

add_subdirectory(deps)
add_subdirectory(src)
